package com.hanamaki.unit.testng.group;

import org.testng.annotations.Test;

public class Grouping {

    @Test(groups={"人"})
    public void student(){
        System.out.println("student方法被调用");
    }
    @Test(groups={"人"})
    public void teacher(){
        System.out.println("teacher方法被调用");
    }
    @Test(groups={"动物"})
    public void dog(){
        System.out.println("dog方法被调用");
    }
    @Test(groups={"动物"})
    public void cat(){
        System.out.println("cat方法被调用");
    }
    @Test(groups={"人","动物"})
    public void feeder(){
        System.out.println("feeder方法被调用");
    }

    @Test(groups={"妖精"})
    public void yj(){
        System.out.println("feeder方法被调用");
    }


}
